/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.market.entity;

import org.hibernate.validator.constraints.Length;
import com.kaaction.common.persistence.DataEntity;

/**
 * 抽奖记录Entity
 * @author zengbiao
 * @version 2017-04-23
 */
public class EventLotteryDrawHistory extends DataEntity<EventLotteryDrawHistory> {
	
	private static final long serialVersionUID = 1L;
	private String eventId;		// event_id
	private String customerAddress;		// customer_address
	private int customerDrawCount;		// customer_draw_count
	
	public EventLotteryDrawHistory() {
		super();
	}

	public EventLotteryDrawHistory(String id){
		super(id);
	}

	@Length(min=1, max=45, message="event_id长度必须介于 1 和 45 之间")
	public String getEventId() {
		return eventId;
	}

	public void setEvent(String eventId) {
		this.eventId = eventId;
	}
	
	@Length(min=1, max=45, message="customer_address长度必须介于 1 和 45 之间")
	public String getCustomerAddress() {
		return customerAddress;
	}

	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}
	
	public int getCustomerDrawCount() {
		return customerDrawCount;
	}

	public void setCustomerDrawCount(int customerDrawCount) {
		this.customerDrawCount = customerDrawCount;
	}
	
}